.flex {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: flex-start;
  box-sizing: border-box;

  &.flex-full {
    width: 100%;
    height: 100%;
  }
  &.flex-inline {
    display: inline-flex;
  }
  &.flex-column {
    flex-direction: column;
  }
  &.flex-wrap {
    flex-wrap: wrap;
  }
  &.flex-middle {
    align-items: center;
  }
  &.flex-start {
    justify-content: flex-start;
  }
  &.flex-end {
    justify-content: flex-end;
  }
  &.flex-between {
    justify-content: space-between;
  }
  &.flex-center {
    justify-content: center;
    align-items: center;
  }

  .flex-fixed {
    flex: none;
  }
  .flex-auto-width {
    flex: auto;
    width: auto;
    min-width: 0;
  }
  .flex-auto-height {
    flex: auto;
    height: auto;
    min-height: 0;
  }
}
